/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.yurendao.OSFileSystem.MyFAT;

import com.yurendao.OSFileSystem.data.*;

/**
 *
 * @author Administrator
 */
public class FATStructure {
    //三种文件 --- 普通文件、文件夹、磁盘
    private int fatIndex ;        
    private int fatType ;     //0：磁盘  1：文件夹  2：文件
    private Object fatContent ;     //应用时，强制转换成对应的文件类型

    public FATStructure() {
        this.fatContent = null;
        this.fatIndex = 0;
        this.fatType = 0;
    }

    public int getFatIndex() {
        return fatIndex;
    }

    public void setFatIndex(int fatIndex) {
        this.fatIndex = fatIndex;
    }

    public int getFatType() {
        return fatType;
    }

    public void setFatType(int fatType) {
        this.fatType = fatType;
    }

    //得到文件分配表中的  具体文件信息
    public Object getFatContent() {
        return fatContent;
    }

    public void setFatContent(Object fatContent) {
        this.fatContent = fatContent;
    }
}
